package com.errol.generic.baiducloud.faceai.pojo.faceliveness;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import javax.validation.constraints.NotNull;

/**
 * 百度云人脸活体检测应用配置
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2020/09/22
 * @since v
 **/
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "facelivenessverify.baidu")
public class BaiduFaceAiConfig {

    @NotNull
    private String appName;
    @NotNull
    private String appId;
    @NotNull
    private String apiKey;
    @NotNull
    private String secretKey;

}
